/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.entity;

import org.hibernate.validator.constraints.Length;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.modules.sys.entity.User;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 案件挂起Entity
 * 
 * @author TTAO
 * @version 2017-06-11
 */
public class XtSuspendApply extends DataEntity<XtSuspendApply> {

	private static final long serialVersionUID = 1L;
	private Long serial; // serial
	private Long handleid; // handleid
	private Long suspendType; // suspend_type
	private String userid; // userid
	private Date applyTime; // apply_time
	private Date endTime; // apply_time
	private String memo; // memo
	private String checkuserid; // checkuserid
	private Date checkTime; // check_time
	private String checkYy; // check_yy
	private Long ischeckup; // ischeckup
	private Long isdelete; // isdelete
	private Date deleteTime; // delete_time
	private Long nextno; // nextno

	private User user;

	public XtSuspendApply() {
		super();
	}

	public XtSuspendApply(String id) {
		super(id);
	}

	public Long getSerial() {
		return serial;
	}

	public void setSerial(Long serial) {
		this.serial = serial;
	}

	public Long getHandleid() {
		return handleid;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public void setHandleid(Long handleid) {
		this.handleid = handleid;
	}

	public Long getSuspendType() {
		return suspendType;
	}

	public void setSuspendType(Long suspendType) {
		this.suspendType = suspendType;
	}

	@Length(min = 0, max = 100, message = "userid长度必须介于 0 和 100 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	@Length(min = 0, max = 2000, message = "memo长度必须介于 0 和 2000 之间")
	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Length(min = 0, max = 100, message = "checkuserid长度必须介于 0 和 100 之间")
	public String getCheckuserid() {
		return checkuserid;
	}

	public void setCheckuserid(String checkuserid) {
		this.checkuserid = checkuserid;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	@Length(min = 0, max = 500, message = "check_yy长度必须介于 0 和 500 之间")
	public String getCheckYy() {
		return checkYy;
	}

	public void setCheckYy(String checkYy) {
		this.checkYy = checkYy;
	}

	public Long getIscheckup() {
		return ischeckup;
	}

	public void setIscheckup(Long ischeckup) {
		this.ischeckup = ischeckup;
	}

	public Long getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Long isdelete) {
		this.isdelete = isdelete;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getNextno() {
		return nextno;
	}

	public void setNextno(Long nextno) {
		this.nextno = nextno;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	

}